<?php
// 提交添加医生信息
// header("content-type:text/html;charset=UTF-8");
include_once("conn.php");

$content = $_GET['content'];

$info = json_decode($content, true);

date_default_timezone_set("Asia/Shanghai");
$addDate = date("Y-m-d H:i:s");

$insert = "INSERT INTO tips_infos (tips_Title,tips_Content,tips_Date) 
VALUES ('" . $info['title'] . "','" . $info['content'] . "','" . $addDate . "')";

$result = mysqli_query($connect_DB, $insert);

$connect_DB->close();
?>